import { post } from '@/assets/api/http';


// 
export const loginApi = (data, config) => post('/account/login', data, config);


// 获取分类
export const getCateListV1 = (data, config) => post('/api/College/pc_getCateListV1', data, config);

// 获取实操视频 和 考证题库分类
export const getShoolCate = (data, config) => post('/api/Schoolcourse/getcate', data, config);

// 获取视频列表
export const getCollegeList = (data, config) => post('/api/College/pc_getCollegeList', data, config);

// 获取视频列表
export const getVipCollegeList = (data, config) => post('/api/College/vip_college', data, config);

// 获取牛帐视频列表
export const getSchoolcourseList = (data, config) => post('/api/Schoolcourse/pc_getlist', data, config);

// 获取秒懂财税详情
export const getCollegeDetail = (data, config) => post('/api/College/getCollegeDetail', data, config);

export const getCollegeDetailNew = (data, config) => post('/api/College/getCollegeDetail_new', data, config);

// 评论
export const addCollegeComment = (data, config) => post('/api/College/addCollegeComment', data, config);

// 牛帐开课
export const schoolcourseOpencourse = (data, config) => post('/api/Schoolcourse/opencourse', data, config);

// 牛帐详情
export const schoolcourseGetlistinfo = (data, config) => post('/api/Schoolcourse/getlistinfo', data, config);

// 收藏
export const setCollect = (data, config) => post('/api/College/setCollect', data, config);

// 收藏
export const getlistinfo = (data, config) => post('/api/Schoolcourse/getlistinfo', data, config);

// 购买考证专题视频
export const courseBuy = (data, config) => post('/api/College/course_buy', data, config);

// 添加学习记录
export const addstudyrecord = (data, config) => post('/api/College/addstudyrecord', data, config);

// 获取学习记录
export const getVideorecord = (data, config) => post('/api/user/getVideorecord', data, config);


// 付费课程目录列表
export const get_paycourselist = (data, config) => post('/api/college/get_paycourselist', data, config);



// 
export const pc_buy_collegecourse = (data, config) => post('/api/user/pc_buy_collegecourse', data, config);
export const collegecourse_paydetail = (data, config) => post('/api/college/collegecourse_paydetail', data, config);